package com.sporch.feign.service;

import com.czy.model.UserInfo;
import com.sporch.feign.RemoteService;
import org.springframework.stereotype.Component;

/**
 * @Author: czy
 * @Date: 2019/5/31 9:34
 */
@Component
public class SchedualServiceHiHystric implements RemoteService{
    /**
     *
     * @param name
     * @return
     */
    @Override
    public String remoteMethod(String name) {
        return "sorry"+name;
    }

    @Override
    public String remoteMethod2(UserInfo userInfo) {
        return "进入断路器";
    }
}
